package com.xiguthings.waka.web.controller.wechat.wx.tmpltMsg;

public class Wage extends TltMsg {

	public Wage() {
	}

	public Wage(String recevier) {
		super(recevier);
	}

	public Wage(String recevier, String url) {
		super(recevier, url);
	}

	public void init(String name, String shouldPay, String realPay, String pTax, String cTax, String secure) {
		addValue("first", name + ",你上个月工资情况如下:");
		addValue("keyword1", "¥" + shouldPay);
		addValue("keyword2", "¥" + secure);
		addValue("keyword3", "¥" + pTax);
		addValue("keyword4", "¥" + realPay, "#FF0000");
		addValue("keyword5", "¥" + cTax, "#FF0000");
		addValue("remark", "如有疑问请向公司人事部门了解详情。");
	}

	public void setName(String name) {
		addValue("first", name + ",你上个月工资情况如下:");
	}

	public void setShouldPay(String shouldPay) {
		addValue("keyword1", "¥" + shouldPay);
	}

	public void setRealPay(String realPay) {
		addValue("keyword4", "¥" + realPay, "#FF0000");
	}

	public void setpTax(String pTax) {
		addValue("keyword3", "¥" + pTax);
	}

	public void setcTax(String cTax) {
		addValue("keyword5", "¥" + cTax, "#FF0000");
	}

	public void setSecure(String secure) {
		addValue("keyword2", "¥" + secure);
	}

	@Override
	String getTltId() {
		return "hdkmb2uhkYRCNSwmU792A45YTG3Bz0lTZ8nKQ-6f390";
	}
}
